package com.qk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.ClueDto;
import com.qk.dto.MarkFalseClueDto;
import com.qk.entity.Clue;

public interface ClueService extends IService<Clue> {
    //线索列表查询
    PageResult<Clue> listClue(ClueDto clueDto);

    //根据id查询线索
    Clue getClueById(Integer id);

    //线索跟进
    void trackClue(Clue clue);

    //线索伪线索
    void pseudoClues(Integer id, MarkFalseClueDto markFalseClueDto);

    //线索转商机
    void toBusiness(Integer id);

    //线索池列表查询
    PageResult<Clue> listCluePool(ClueDto clueDto);
}
